/**
 *
 */
package br.com.werp.regras.suporte.visao.decorador;

import br.com.werp.regras.geral.util.Html;
import br.com.werp.regras.geral.vos.tabelas.Role;

import org.displaytag.decorator.TableDecorator;


/**
 * @author Rafael Carneiro - <a href = "mailto:rafael@portaljava.com">
 * rafael@portaljava.com</a>
 *
 * Apr 5, 2006
 */
public class RolesDisponiveis extends TableDecorator {
    public String getRolesDescricao() {
        Role roleVO = (Role) getCurrentRowObject();

        return Html.onClick("preencherRolesDisponiveis",
            new String[] { roleVO.getRole_descricao() },
            roleVO.getRole_descricao(), roleVO.getRole_descricao());
    }
}
